package com.lwldjx.oss.service;

import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FileService {
    private final StorageAdapter storageAdapter;
    public FileService(StorageAdapter storageAdapter){
        this.storageAdapter = storageAdapter;
    }
    public List<String> getAllBucket(){
        return storageAdapter.getAllBucket();
    }
}
